package com.icorp.istaff.service.impl;

import javax.annotation.Resource;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.icorp.istaff.dao.declaration.ILoginDao;
import com.icorp.istaff.service.declaration.ILoginService;

@Service("LoginService")
public class LoginServiceImpl implements ILoginService {

	@Resource(name="LoginDao")
	private ILoginDao loginDao;

	@Override
	public boolean loginHandler() {
		// TODO Auto-generated method stub
		return loginDao.login();
	}

	public ILoginDao getLoginDao() {
		return loginDao;
	}

	public void setLoginDao(ILoginDao loginDao) {
		this.loginDao = loginDao;
	}

}
